﻿using System;
using Baula.TextGen.Framework.ComInterop;

namespace Baula.TextGen.Framework
{
    public abstract class TextGenException : ApplicationException
    {
        public const int VbObjectError = -2147221504;

        protected TextGenException(string message, ErrorCodes errorCode)
            :base(message)
        {
            HResult = (int) errorCode;
        }
    }
}